#include <stddef.h>

void *solve(unsigned int num ,void * x, void* y);


#include <stdio.h>
#include <time.h>

int main()
{
	int n = 16;
	short int x[128];
	int y[128];	
	for(short int i = 0; i < n; i ++)
	{
		x[i] = (rand() % 2) == 0 ? -i : i;
		printf("0x%04hx\n", x[i]);
	}

	solve(n, x, y);
	
	puts("\n-----------------------------------\n");

	for(int i = 0; i < n / 2; i ++) printf("0x%08x\n", y[i]);

	return 0;
}
